package com.share.example.stock.web;

import com.share.common.common.Page;
import com.share.common.common.Result;
import com.share.example.stock.model.rsp.ScheduleLogPageReq;
import com.share.example.stock.service.IScheduleLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 定时任务日志记录表  前端控制器
 * </p>
 *
 * @author author
 * @since 2023-06-05
 */
@RestController
@RequestMapping("/schedulelog")
public class ScheduleLogController {

    @Autowired
    private IScheduleLogService iScheduleLogService;

    @RequestMapping("/pageList")
    public Result pageList(ScheduleLogPageReq req) {
        Page page = iScheduleLogService.pageList(req);
        return Result.success(page);
    }
}
